package com.maimao.user.controller;

import com.maimao.core.model.resp.Result;
import com.maimao.model.user.Bank;
import com.maimao.model.user.vo.BankVo;
import com.maimao.user.controller.base.BaseController;
import com.maimao.user.service.BankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author MaoLin Wang
 * @date 2021/5/13 下午7:37
 */
@RequestMapping("/web/bank")
@RestController
public class BankController extends BaseController {

    @Autowired
    private BankService bankService;

    @GetMapping("/bankData")
    public Result<?> bankData() {
        return Result.okData(bankService.bankData());
    }

}
